import request from "@/utils/request";

/**
 * 根据身份证号查询患者信息
 * @param idCard 身份证号
 */
// 根据

export function getPatientByIdCard(param: string) {
  return request({
    url: "/doctor-boot/api/v1/patient/getPatientByIdCard",
    method: "get",
    params: {
      idCard: param
    }
  });
}

/**
 * 
 */
export function addPatient (param: any) {
    return request({
        url: "/doctor-boot/api/v1/patient/addPatient",
        method: "post",
        data: param
        
    })
}